<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'aaaa.jsp' starting page</title>
    
    <script src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript">
		
			function commitLogin() {
       
			$.post("loginUser.action", "12343", function(data) {
				alert(data);
			});
		}
		
		$(function() {
		
			alert("${userAccount}");
		
		});
		
	</script>
    
  </head>
  
  <body>	
   		<input type="button" onclick="commitLogin()" value="按钮"/>

  </body>
</html>
